import { Allotment } from 'allotment'
import 'allotment/dist/style.css'
import CodeEditor from './components/CodeEditor'
import FileNameList from './components/FileNameList'
import PreView from './components/Preview'
export default function ReactPlayground() {
  return <div style={{height: '100vh'}}>
    <Allotment>
      <Allotment.Pane>
				<FileNameList />
        <CodeEditor />
      </Allotment.Pane>
      <Allotment.Pane>
        <PreView />
      </Allotment.Pane>
    </Allotment>
  </div>
}